<script type="text/javascript"	src="${pageContext.request.contextPath}/jscripts/jcarousel/jquery.jcarousel.js"></script>
<link rel="stylesheet" type="text/css"	href="${pageContext.request.contextPath}/jscripts/jcarousel/skin.css" />
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:if test="${!empty param.OP}">
	<c:set var="OP" value="${param.OP}" scope="session"></c:set>
</c:if>
<c:if test="${!empty param.OM}">
	<c:set var="OM" value="${param.OM}" scope="session"></c:set>
</c:if>
<div class="dv_menu3" id="menu_Documentos">
	
	<c:forEach var="o" items="${lstOpcionesMidDTO}">
		<c:if test="${OP eq o.idCodigo_OP}">
			<c:set var="n" value="${n + 1}"></c:set>
		</c:if>
	</c:forEach>
	
	
	<c:if test="${n ge 6}">
		<script type="text/javascript">
			$().ready(function() {
				$('#menu2').jcarousel();
			});
		</script>
	</c:if>
	
	<div style="background:url(${pageContext.request.contextPath}/images/other/border_tbl2_left.png) no-repeat top left; height:inherit; width:3px; float:left">
	</div>
	<div style="width:967px; height:inherit; float:left">
	<ul id="menu2" <c:if test="${n ge 6}">class="jcarousel-skin-ie7"</c:if>>
		<c:forEach var="om" items="${lstOpcionesMidDTO}" >
			<c:if test="${OP eq om.idCodigo_OP}">
				<li>
					<a href="${om.noURL_OM}&OP=${OP}&OM=${om.idCodigo_OM}" style="float: left;">
						<img src="${pageContext.request.contextPath}/${om.noImagen_OM}" width="28" height="28" align="left"/>&nbsp;${om.noDescrip_OM }
					</a>
				</li>
				<c:if test="${OM eq om.idCodigo_OM}">
					<c:set var="objOpcionMid" value="${om}" scope="session" ></c:set>
				</c:if>
				
			</c:if>
		</c:forEach>
	</ul>
	</div>
	<div style="background:url(${pageContext.request.contextPath}/images/other/border_tbl2_right.png) no-repeat top left; height:inherit; width:10px; float:left">
	</div>
</div>